<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" id="viewport" content="width=device-width, initial-scale=1">
    <title>积分</title>
    <link rel="stylesheet" href="../../front/css/common.css">
    <script type="text/javascript" src="../../front/js/jquery.min.js"></script>
    <script type="text/javascript" src="../../front/js/common.js"></script>
</head>
<body style="background: white;">
    <div class="ly_header header2">
        <div class="box2 left text_right padr20 border_right"><span class="togthis integralintog">积分</span></div>
        <div class="box2 left text_left padl20">
            <span class="integralintog">天策府宝</span>
        </div>
        <div class="ly_left goback">
            <img src="../../front/image/gobackbai.png" alt="">
        </div>
        <div style="clear: both"></div>
    </div>
    <div class="integraldata">
        <div class="data">999</div>
        <div class="integraldatatext">当前积分</div>
    </div>
    <div class="integralinfor">
        <div class="integralinforbg">
        </div>
        <div style="padding: 0 20px;">
            <div style="font-size: 0.8em;">
                <img class="imgmindw padr5" style="top: 3px;" src="../../front/image/leftlogo.png" alt="">
                <span class="integralinhead">积分记录</span>
            </div>
            <div style="" class="mart20 integralin">
                <div class="integralinlist" style="">
                    <div>
                        <div class="box2 left">网上签到</div>
                        <div class="box2 left text_right integralinnum" style="">+10</div>
                        <div style="clear: both"></div>
                    </div>
                    <div class="integralintime">2019-02-13/08:45</div>
                </div>
                <div class="integralinlist" style="">
                    <div>
                        <div class="box2 left">网上签到</div>
                        <div class="box2 left text_right integralinnum" style="">+10</div>
                        <div style="clear: both"></div>
                    </div>
                    <div class="integralintime">2019-02-13/08:45</div>
                </div>
            </div>
        </div>
    </div>
</body>
<script>
    $(document).on("click",".integralintog",function () {
        $(".integralintog").removeClass("togthis");
        $(this).addClass("togthis");
        if($(this).text()=="积分"){
            $(".integralinhead").text("积分记录");
        }else{
            $(".integralinhead").text("信用记录");
        }
    })
</script>
</html>